fn main() -> Result<(), Box<dyn std::error::Error>> {
  #[cfg(feature = "encode")]
  {
    use e_utils::system::encode::auto_decode;
    let bytes = vec![0xE4, 0xBD, 0xA0, 0xE5, 0xA5, 0xBD]; // "你好" in UTF-8
    let decoded = auto_decode(&bytes)?;
    assert_eq!(decoded, "你好");
  }
  Ok(())
}
